package com.jdrx.ocp.beans.entity;

/**
 * 平台-API权限管理PO
 * @author huangxg
 */
public class PlatformApiPO {
    /**主键ID*/
    private Long id;
    /**平台前缀*/
    private String platformPrefix;
    /**api地址*/
    private String apiUri;
    /** 被调用服务前缀 */
    private String targetPlatformPrefix;

    public PlatformApiPO() {
    }

    public PlatformApiPO(String platformPrefix) {
        this.platformPrefix = platformPrefix;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlatformPrefix() {
        return platformPrefix;
    }

    public void setPlatformPrefix(String platformPrefix) {
        this.platformPrefix = platformPrefix == null ? null : platformPrefix.trim();
    }

    public String getApiUri() {
        return apiUri;
    }

    public void setApiUri(String apiUri) {
        this.apiUri = apiUri;
    }

    public String getTargetPlatformPrefix() {
        return targetPlatformPrefix;
    }

    public void setTargetPlatformPrefix(String targetPlatformPrefix) {
        this.targetPlatformPrefix = targetPlatformPrefix;
    }
}